package cn.wanda.bi.sunshine.platform.server.controller.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by wangfupeng1 on 2017-3-22.
 */
@Data
@ApiModel("管理员登录信息")
public class AuthorizeAdminRequest {

    @ApiModelProperty(value = "微信用户代码", example = "")
    @NotNull
    private String code;

    @ApiModelProperty(value = "千帆用户登陆名称", example = "")
    @NotNull
    private String username;

    @ApiModelProperty(value = "千帆用户登陆密码(md5加密后)", example = "")
    @NotNull
    private String password;

    @ApiModelProperty(value = "第三方appid", example = "")
    @NotNull
    private String appid;

    @ApiModelProperty(value = "第三方类型，WECHAT,QQ,TAOBAO", example = "WECHAT")
    @NotNull
    private String type;
}
